package com.ssa.controller;

import com.jfoenix.controls.JFXDrawer;
import com.jfoenix.controls.JFXListView;
import com.jfoenix.controls.JFXTabPane;
import com.jfoenix.controls.JFXTextField;
import io.datafx.controller.ViewController;
import io.datafx.controller.flow.context.FXMLViewFlowContext;
import io.datafx.controller.flow.context.ViewFlowContext;
import javafx.fxml.FXML;
import javafx.scene.control.Label;
import javafx.scene.control.Tab;
import javafx.scene.layout.StackPane;
import javafx.scene.web.WebView;

import javax.annotation.PostConstruct;


@ViewController(value = "/fxml/Web.fxml", title = "FX Client")
public class WebController {

    @FXMLViewFlowContext
    private ViewFlowContext context;
    @FXML
    private StackPane root;

    @FXML
    private WebView webView;

    @PostConstruct
    public void init() throws Exception {
        webView.getEngine().load("http://www.fcoinwenzhou.com");
    }

}
